<!DOCTYPE html>
<html lang="en">
<head>
    {include file="common/meta" /}
    <style>
        .news:hover {
            background-color:#ffbe00;
            opacity: 0.8;
        }
        .active-news {
            background-color:#ffbe00;
            opacity: 0.8;
        }
    </style>
</head>
<body>
{include file="common/header" /}
{if !empty(0)}
{include file="common/notice" /}
{/if}

<div class="innner_banner">
    <div class="container">
        <h3>{$title}</h3>
    </div>
</div>
<div class="kode_content_wrap">
    <section class="contact_page">
        <div class="container">
            <div class="row">
                <div class="col-md-4 col-sm-4">
                    <div class="h4">{$title}</div>
                    <div class="">
                        <div>
                            <ul>
                                {foreach $news as $key => $vo}
                                <li class="news {$infos['id'] == $vo.id ? 'active-news' : ''}"><a href="{:url($category, ['id' => $vo.id])}"><p><b>{$key + 1} 、{$vo.title}</b></p></a></li>
                                {/foreach}
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-8 col-sm-8">
                    {$infos['maincontent']}
                </div>
            </div>
        </div>
    </section>
</div>

{include file="common/footer"}

{include file="common/script" /}
</body>
</html>